/**
 * Created by lli5 on 2016/12/8.
 */
function Car(color) {
    this.color = color;
}

Car.prototype.drive = function(){
    return this.color + " car is driving";
}

Car.prototype.turn = function(direction) {
    return this.color + " car turns " + direction;
}

Car.prototype.stop = function() {
    return this.color + " car has stopped";
}
Car.prototype.run = function() {
    return this.color +" car is running so cool.";
}
